/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pe.edu.pucp.dp1.gui.modelo;

/**
 *
 * @author Ed
 */
public class CoordCar {
    public int xx;//pos x
    public int yy;// pos y
    public boolean leido;//para marcar a la coordenada como ya leida en la simulación
    
    public CoordCar(){}
    
    public CoordCar(int x, int y){
        this.setXx(x);
        this.setYy(y);
        this.setLeido(false);
        //System.out.println(x+" " +y);
    }

    public int getXx() {
        return xx;
    }

    public void setXx(int xx) {
        this.xx = xx;
    }

    public int getYy() {
        return yy;
    }

    public void setYy(int yy) {
        this.yy = yy;
    }

    public boolean isLeido() {
        return leido;
    }

    public void setLeido(boolean leido) {
        this.leido = leido;
    }    
}
